import { App } from 'vue';

import { useHttp, HttpConfig } from '../composables/useHttp';
export function HttpPlugin(Vue: App, opts: HttpConfig = {}) {
  Vue.config.globalProperties.$http = useHttp(opts);
}
